import request from '@/utils/request'
export function listMountainData(params){
    return request({
        url: '/dataCenter/queryAllMountainData?'+ 'current=' + params.current + '&size=' + params.size,
        method: 'get',
      })
}

export function listMountainDataByTime(data) {
    return request({
      url: '/dataCenter/queryMountainDataByTime',
      method: 'post',
      data: data
    })
  }

  export function listPipeData(params){
    return request({
        url: '/dataCenter/queryAllPipeData?'+ 'current=' + params.current + '&size=' + params.size,
        method: 'get',
      })
}

export function listPipeDataByTime(data) {
    return request({
      url: '/dataCenter/queryPipeDataByTime',
      method: 'post',
      data: data
    })
  }